d81ab7
@@ -1,5 +1,5 @@
 /*
- * Copyright 2006-2013 the original author or authors.
+ * Copyright 2006-2018 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -149,6 +149,12 @@
public class FaultTolerantChunkProcessor<I, O> extends SimpleChunkProcessor<I, O
 			inputs.setUserData(data);
 			data.setOutputs(new Chunk<O>());
 		}
+		else {
+			// BATCH-2663: re-initialize filter count when scanning the chunk
+			if (data.scanning()) {
+				data.filterCount = 0;
+			}
+		}
 	}
 
 	@Override
